# _*_ coding: utf-8 _*_
__author__ = 'yinlei'
__date__ = '2018-05-20 19:23'
from wtforms import Form


class BaseForm(Form):
    def get_error(self):
        return self.errors.popitem()[1][0]
